package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DigitalSliceCaseFile;
import com.zhijian.medical.entity.vo.request.DigitalSliceCaseFileSearchVo;
import com.zhijian.medical.entity.vo.response.DigitalSliceCaseFileVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DigitalSliceCaseFileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DigitalSliceCaseFile record);

    int insertSelective(DigitalSliceCaseFile record);

    DigitalSliceCaseFile selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DigitalSliceCaseFile record);

    int updateByPrimaryKey(DigitalSliceCaseFile record);

    int count(DigitalSliceCaseFileSearchVo digitalSliceCaseFileSearchVo);

    List<DigitalSliceCaseFileVo> selectList(DigitalSliceCaseFileSearchVo digitalSliceCaseFileSearchVo);

    DigitalSliceCaseFileVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<DigitalSliceCaseFile> entities);
}